Skip to content

Disable rtcheck if sanitizers are enabled#166

Merged
drowaudio merged 1 commit intoTracktion:developfrom
joeloftusdev:develop
Mar 25, 2026
Merged

Disable rtcheck if sanitizers are enabled#166
drowaudio merged 1 commit intoTracktion:developfrom
joeloftusdev:develop

Conversation

@joeloftusdev
Copy link
Copy Markdown
Contributor

This change updates CMakeLists.txt to automatically set PLUGINVAL_ENABLE_RTCHECK=OFF if either WITH_ADDRESS_SANITIZER or WITH_THREAD_SANITIZER is enabled.

Fixes a crash when running with ThreadSanitizer. Both TSan and librtcheck were wrapping libc functions like stat(), which caused a conflict during startup and led to a segfault before main() ran.

Disable rtcheck when using address or thread sanitizers.
@drowaudio drowaudio merged commit 2b97222 into Tracktion:develop Mar 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants